setPositionX

abstract fun setPositionX(block: DesignBlock, value: Float)

Update a block's x position. The position refers to the block's local space, relative to its parent with the origin at the top left. Required scope: "layer/move"

Parameters

block

the block to update.

value

the value of the x position.